package com.atguigu.boot.config;

import com.atguigu.hello.service.HelloService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: MyConfig
 * Package: com.atguigu.boot.config
 * Description:
 *
 * @Author Root
 * @Create 2023/5/30 15:37
 * @Version 1.0
 */
@Configuration
public class MyConfig {

    @Bean
    public HelloService helloService(){
        HelloService helloService = new HelloService();
        return helloService;
    }

}
